#include <stdio.h>

int main (void)
{
  const int MIN = -1000;
  const int MAX = 1000;

  int start;
  int stop;

  printf ("This program computes the sum of the squares of"
          " integers in a range.");
  printf("The lower bound should not be less than -1000.\n"
          "The upper bound should not be more than 1000.\n"
          "Enter the limits:\n"
          "lowe limit:");

  start = get_int();
  printf ("upper limit:");
  stop = get_int();


  return 0;
}

int get_int(void)
{
  int input;
  char ch;

  while(scanf("%d",&input) != 1)
  {
    while(ch = getchar()) != '\n'
      putchar(ch);
    printf(" is not an integer.\n");
    printf("Please enter an interger value,such as: 25, -178")
  }
  return input;
}
